package poland;

public abstract class Expression {
	private String _original;
	private boolean _TopMost = false;

	public Expression(String original) {
		_original = original;
	}

	public String getOriginal() {
		return _original;
	}

	public void setOriginal(String original) {
		_original = original;
	}

	public abstract double evaluate();

	public boolean isTopMost() {
		return _TopMost;
	}

	public void setTopMost(boolean topMost) {
		_TopMost = topMost;
	}
}
